package com.situ.vivamarket.model.front;

import com.situ.vivamarket.model.Goods;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Setter
@Getter
public class WishlistItem {
    private Integer id;
    private Integer memberId;//所属的会员编号
    @NotNull(message = "商品编号不能为空")
    private Integer goodsId;//商品号
    private LocalDateTime createdTime;//收藏的时间

    private Goods goods;//关联商品
}

